package com.sc.nft.admin.request;

import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@NoArgsConstructor
public class AssetsChangeRequest extends PageRequest {
    @ApiModelProperty("用户id")
    @NotNull(message = "用户积分不能为空")
    private Long userId;
    @ApiModelProperty("变更类型 1:用户注册 2:认证成功 3:首次消费 4:消费对应等比积分 5:积分兑换商品")
    private Integer type;
    @ApiModelProperty("起始时间")
    private Date startDate;
    @ApiModelProperty("结束时间")
    private Date endDate;
}
